#ifndef __CS_SCREEN_H_
#define __CS_SCREEN_H_

#include <conio.h>
#include <string.h>
#include <stdbool.h>

#ifdef __VIC20__
#define SCREEN_WIDTH	22u
#define SCREEN_HEIGHT	23u
#define SCREEN_LEFT		0u
#define SCREEN_TOP		3u
#endif

#if defined(__C64__) || defined(__C128__) || defined(__PLUS4__)
#define SCREEN_WIDTH	40u
#define SCREEN_HEIGHT	25u
#define SCREEN_LEFT		10u
#define SCREEN_TOP		4u
#endif


unsigned char getCenterX(const char* string);
unsigned char getCenterY();

void displayCredits(unsigned char x, unsigned char y);
void fillPlayField(unsigned char x, unsigned char y);
void drawPlayfield(unsigned char x, unsigned char y);
void displayPlayerTray(unsigned char x, unsigned char y, unsigned char player);
void waitForNextPlayer(unsigned char x, unsigned char y);
#endif